package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffCoterieMemberDto
 * @使用场景
 */
@Data
public class BffCoterieMemberDto implements Serializable {

  /**
   * 虚拟组织成员就职记录ID
   */
  @ApiModelProperty("虚拟组织成员就职记录ID")
  private String virtualOrgInductionRecordId;

  /**
   * 身份人员ID
   */
  @ApiModelProperty("身份人员ID")
  private String originalRoleMemberId;

  /**
   * 个人账号
   */
  @ApiModelProperty("个人账号")
  private String userId;

  /**
   * 真实头像
   */
  @ApiModelProperty("真实头像")
  private String userFace;

  /**
   * 真实姓名
   */
  @ApiModelProperty("真实姓名")
  private String idCardName;

  /**
   * 用户昵称
   */
  @ApiModelProperty("用户昵称")
  private String nickName;

  /**
   * 组内职务名称
   */
  @ApiModelProperty("组内职务名称")
  private String virtualOrganizationPosition;

  /**
   * 角色标识
   */
  @ApiModelProperty("角色标识")
  private String roleCode;

  /**
   * 是否管理员 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否管理员")
  private String isAdmin;

  /**
   * 是否负责人 TRUE:是 FALSE:否
   */
  @ApiModelProperty("是否负责人")
  private String isPersonCharge;
/**
     * 虚拟组织成员ID
     */
    @ApiModelProperty("虚拟组织成员ID")
    private String	 virtualOrgMemberId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffCoterieMemberDto that = (BffCoterieMemberDto) o;
      return  virtualOrgInductionRecordId == that.virtualOrgInductionRecordId&&originalRoleMemberId == that.originalRoleMemberId&&userId == that.userId&&userFace == that.userFace&&idCardName == that.idCardName&&nickName == that.nickName&&virtualOrganizationPosition == that.virtualOrganizationPosition&&roleCode == that.roleCode&&isAdmin == that.isAdmin&&isPersonCharge == that.isPersonCharge&&virtualOrgMemberId == that.virtualOrgMemberId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), virtualOrgInductionRecordId,originalRoleMemberId,userId,userFace,idCardName,nickName,virtualOrganizationPosition,roleCode,isAdmin,isPersonCharge,virtualOrgMemberId);
    }

}
